public class IdeaTest {
    static testMethod void testIdeaInsert(){
        
        //First, prepare 10 Ideas for the test data
        Idea[] IdeasToCreate = new Idea[]{};
        for(Integer x=0; x<10;x++){
            Idea s = new Idea(Title='test',Body='test',communityid='09a80000000DSHGAA4',category='Alarms',observed_in_release__c='a0O80000001i1OwEAI');
            IdeasToCreate.add(s);
        }
        
        //Now insert data causing Idea triggers to fire. 
        Test.startTest();
        insert IdeasToCreate;
        Test.stopTest();    
    }
    static testMethod void testIdeaCreateWorkItem(){
        
        //First, prepare 10 Ideas for the test data
        Idea[] IdeasToCreate = new Idea[]{};
        for(Integer x=0; x<10;x++){
            Idea s = new Idea(Title='test',Body='test',communityid='09a80000000DSHGAA4',category='Alarms',observed_in_release__c='a0O80000001i1OwEAI');
            IdeasToCreate.add(s);
        }
        
        insert IdeasToCreate;
        for(Integer x=0; x<10;x++)
        {
        	IdeasToCreate[x].workflow_step__c = 'Selected for Consideration on Roadmap';
        }
        
        //Now update ideas, causing triggers to fire. 
        Test.startTest();
        update IdeasToCreate;
        Test.stopTest();    
    }
}